package com.sc.model;

import java.util.Date;


import org.beetl.sql.core.annotatoin.Table;

import com.sc.model.base.BaseModel;

/**
 * 用户
 * 
 * @author chenhao
 *
 */
@Table(name = "user")
public class User extends BaseModel {

	private static final long serialVersionUID = 1L;

	public String name;// 帐号
	public String password;
	public String nickName;// 昵称
	public String realName;// 真实姓名
	public int gender;// 男:0,女1
	public int age;
	public Date birthDate;// 出生日期
	public double balance;// 余额
	public double towBalance;// 拖管金额
	
	public User() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public double getTowBalance() {
		return towBalance;
	}

	public void setTowBalance(double towBalance) {
		this.towBalance = towBalance;
	}

}
